package com.cxy.service;

import com.cxy.pojo.Dept;
import org.springframework.stereotype.Service;

import java.util.List;

public interface DeptService {

    List<Dept> list();

    void delete(Integer id) throws Exception;

    void insert(Dept dept);
}
